package com.guodu.service;

import java.util.List;
import java.util.Map;

import com.guodu.entity.MaterialGhyctj;
import com.guodu.entity.MaterialghyctjStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.ViewMaterialGhycVo;
import com.guodu.vo.ViewVo;

public interface MaterialGhyctjService {
	void add(MaterialGhyctj entity);
	void delete(String id);
	void update(MaterialGhyctj entity);
	Map<String,ViewMaterialGhycVo> findByVo(ViewVo viewVo,Units units);
	List<MaterialGhyctj> findAllByVo(ViewVo viewVo,Units units);
	boolean isExist(Long unitsId,String month);
	MaterialGhyctj findById(String id);
	void examine(String ids,String reason,String beforeStatus,Long afterStatus,UserInfo userInfo);
	List<MaterialghyctjStatus> findStatus(String id);
}
